.TH qdqueue_dequeue 3 "APRIL 2011" libqthread "libqthread"
.SH NAME
.BR qdqueue_dequeue " \- remove an element from a distributed queue"
.SH SYNOPSIS
.B #include <qthread/qdqueue.h>

.I void *
.br
.B qdqueue_dequeue
.RI "(qdqueue_t *" q );
.SH DESCRIPTION
This function removes an element from the distributed queue and returns a pointer to it.
.SH RETURN VALUE
The return value is one of the pointers that was enqueued in the queue.
.SH SEE ALSO
.BR qlfqueue_dequeue (3),
.BR qdqueue_create (3),
.BR qdqueue_enqueue (3),
.BR qdqueue_destroy (3),
.BR qdqueue_empty (3)
